package com.oak.broke.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author tanghan
 * @Description 自定义配置项
 * @date 2023/04/24/ 10:07:00
 */
@Component
@ConfigurationProperties(prefix = "custom")
@Data
public class CustomProperties {

    /**
     * 白名单集合（全匹配）
     */
    private List<String> whiteIpList;
}
